Imports DataLayer
Imports EntityLayer

Public Class SolicitudPedidoBL

    Public Shared Function ObtenerNuevoCodigo() As Integer
        Return SolicitudPedidoDA.ObtenerNuevoCodigo
    End Function

    Public Shared Function Insertar(ByVal OBE As SolicitudPedidoBE) As Boolean
        Return SolicitudPedidoDA.Insertar(OBE)
    End Function

    Public Shared Function Actualizar(ByVal OBE As SolicitudPedidoBE) As Boolean
        Return SolicitudPedidoDA.Actualizar(OBE)
    End Function

    Public Shared Function Eliminar(ByVal intIdSolicitud As Integer) As Boolean
        Return SolicitudPedidoDA.Eliminar(intIdSolicitud)
    End Function

    Public Shared Function ListarTodo() As DataSet
        Return SolicitudPedidoDA.ListarTodo
    End Function

    Public Shared Function ListarxCodigo(ByVal intIdSolicitud As Integer) As DataSet
        Return SolicitudPedidoDA.ListarxCodigo(intIdSolicitud)
    End Function

    Public Shared Function ActualizarEstado(ByVal intIdSolicitud As Integer, ByVal strEstado As String) As Boolean
        Return SolicitudPedidoDA.ActualizarEstado(intIdSolicitud, strEstado)
    End Function

    Public Shared Function ListarTodoxEstado(ByVal chEstado As Char) As DataSet
        Return SolicitudPedidoDA.ListarTodoxEstado(chEstado)
    End Function
End Class
